package org.jeecg.modules.business.transfer.vo;

import java.util.List;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.business.transfer.entity.PaperPurchaseMaterial;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 纸筒采购任务
 * @Author: jeecg-boot
 * @Date:   2023-11-14
 * @Version: V1.0
 */
@Data
@ApiModel(value="wms_paper_purchasePage对象", description="纸筒采购任务")
public class PaperPurchasePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**部门*/
	@ApiModelProperty(value = "部门")
	@Excel(name = "部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "org_code")
    private String sysOrgCode;
	/**组织*/
	@ApiModelProperty(value = "组织")
	@Excel(name = "组织", width = 15)
    private String organization;
	/**单据类型*/
	@Excel(name = "单据类型", width = 15, dicCode = "document_task")
	@ApiModelProperty(value = "单据类型")
    private String documentType;
	/**单据编号*/
	@Excel(name = "单据编号", width = 15)
	@ApiModelProperty(value = "单据编号")
    private String documentCode;
	/**单据状态*/
	@Excel(name = "单据状态", width = 15, dicCode = "paper_purchase_status")
	@ApiModelProperty(value = "单据状态")
	@Dict(dicCode = "paper_purchase_status")
	private String documentStatus;
	/**日期*/
	@Excel(name = "日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "日期")
    private Date documentDate;
	/**仓管员*/
	@Excel(name = "仓管员", width = 15)
	@ApiModelProperty(value = "仓管员")
    private String warehouseKeeper;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;
	/**入库凭证*/
	@Excel(name = "入库凭证", width = 15)
	@ApiModelProperty(value = "入库凭证")
    private String voucher;
	/**来源系统*/
	@Excel(name = "来源系统", width = 15)
	@ApiModelProperty(value = "来源系统")
    private String originalSystem;
	/**来源单据*/
	@Excel(name = "来源单据", width = 15)
	@ApiModelProperty(value = "来源单据")
    private String originalSystemNumber;
	/**SAP凭证号*/
	@Excel(name = "SAP凭证号", width = 15)
	@ApiModelProperty(value = "SAP凭证号")
    private String sapCode;
	/**租户id*/
	@ApiModelProperty(value = "租户id")
    private String tenantId;
	/**逻辑删除*/
	@ApiModelProperty(value = "逻辑删除")
    private String delFlag;

	@ExcelCollection(name="纸筒采购任务-物料")
	@ApiModelProperty(value = "纸筒采购任务-物料")
	private List<PaperPurchaseMaterial> wmsPaperPurchaseMaterialList;

}
